package 设计模式.设计模式.单例模式;

public class Test {
    public static void main(String[] args) {
        Singleton single = Singleton.getInstance();
        System.out.println(single==Singleton.getInstance());
        //打印true;
    }
}
